<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html
  PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="en-us" xml:lang="en-us">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<meta name="copyright" content="(C) Copyright 2005"/>
<meta name="DC.rights.owner" content="(C) Copyright 2005"/>
<meta name="security" content="public"/>
<meta name="Robots" content="index,follow"/>
<meta http-equiv="PICS-Label" content='(PICS-1.1 "http://www.icra.org/ratingsv02.html" l gen true r (cz 1 lz 1 nz 1 oz 1 vz 1) "http://www.rsac.org/ratingsv01.html" l gen true r (n 0 s 0 v 0 l 0) "http://www.classify.org/safesurf/" l gen true r (SS~~000 1))' />
<meta name="DC.Type" content="reference"/>
<meta name="DC.Title" content="Exclusion rules"/>
<meta name="DC.Relation" scheme="URI" content="../concepts/Editing_a_named_scan.html"/>
<meta name="DC.Format" content="XHTML"/>
<meta name="DC.Identifier" content="reference_187131258DC443E196A516EED77D3528"/>
<meta name="DC.Language" content="en-us"/>
<link rel="stylesheet" type="text/css" href="../commonltr.css"/>
<link rel="stylesheet" type="text/css" href="../DITA.css"/>
<title>Exclusion rules</title>
</head>
<body id="reference_187131258DC443E196A516EED77D3528"><a name="reference_187131258DC443E196A516EED77D3528"><!-- --></a>


<h1 class="topictitle1">Exclusion rules</h1>
<div id="refbody_cf_12166560864871"><a name="refbody_cf_12166560864871"><!-- --></a><div class="section" id="reference_187131258DC443E196A516EED77D3528__d11e9"><a name="reference_187131258DC443E196A516EED77D3528__d11e9"><!-- --></a>When you add or edit an exclusion, you can type any POSIX path, whether it is a volume, folder, or file. To specify which items are excluded, use the following rules:
<div class="tablenoborder"><a name="reference_187131258DC443E196A516EED77D3528__d11e11"><!-- --></a><table cellpadding="4" cellspacing="0" summary="" id="reference_187131258DC443E196A516EED77D3528__d11e11" frame="border" border="1" rules="all"><thead align="left"><tr><th valign="top" width="NaN%" id="d25e16">Item(s) to exclude</th>
<th valign="top" width="NaN%" id="d25e18">Syntax to use</th>
</tr>
</thead>
<tbody><tr><td valign="top" width="NaN%" headers="d25e16 ">A folder and sub-folders recursively</td>
<td valign="top" width="NaN%" headers="d25e18 ">Suffix the exclusion with a slash</td>
</tr>
<tr><td valign="top" width="NaN%" headers="d25e16 ">A folder but not sub-folders</td>
<td valign="top" width="NaN%" headers="d25e18 ">Suffix the exclusion with a double slash</td>
</tr>
<tr><td valign="top" width="NaN%" headers="d25e16 ">A file</td>
<td valign="top" width="NaN%" headers="d25e18 ">Do 
<em>not</em>
 suffix the exclusion with a slash or double slash</td>
</tr>
<tr><td valign="top" width="NaN%" headers="d25e16 ">A folder or file in a specific location</td>
<td valign="top" width="NaN%" headers="d25e18 ">Prefix the exclusion with a slash</td>
</tr>
<tr><td valign="top" width="NaN%" headers="d25e16 ">A folder or file anywhere locally or on the network</td>
<td valign="top" width="NaN%" headers="d25e18 ">Do 
<em>not</em>
 prefix the exclusion with a slash</td>
</tr>
<tr><td valign="top" width="NaN%" headers="d25e16 ">A file whose name has a specific filename extension</td>
<td valign="top" width="NaN%" headers="d25e18 ">Substitute an asterisk (*) for the filename stem</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="reference_187131258DC443E196A516EED77D3528__d11e58"><a name="reference_187131258DC443E196A516EED77D3528__d11e58"><!-- --></a><h4 class="sectiontitle">Examples</h4>
<div class="tablenoborder"><a name="reference_187131258DC443E196A516EED77D3528__d11e61"><!-- --></a><table cellpadding="4" cellspacing="0" summary="" id="reference_187131258DC443E196A516EED77D3528__d11e61" frame="border" border="1" rules="all"><thead align="left"><tr><th valign="top" width="NaN%" id="d25e66">Exclusion path</th>
<th valign="top" width="NaN%" id="d25e68">Item(s) that are excluded</th>
</tr>
</thead>
<tbody><tr><td valign="top" width="NaN%" headers="d25e66 "><span class="filepath">/MyFolder/MyApplication</span></td>
<td valign="top" width="NaN%" headers="d25e68 ">The file <span class="filepath">MyApplication</span> in a specific location</td>
</tr>
<tr><td valign="top" width="NaN%" headers="d25e66 "><span class="filepath">/MyFolder/</span></td>
<td valign="top" width="NaN%" headers="d25e68 ">All files in the folder <span class="filepath">MyFolder</span> in a specific location and
sub-folders recursively</td>
</tr>
<tr><td valign="top" width="NaN%" headers="d25e66 "><span class="filepath">/MyFolder//</span></td>
<td valign="top" width="NaN%" headers="d25e68 ">All files in the folder <span class="filepath">MyFolder</span> in a specific location but not
sub-folders</td>
</tr>
<tr><td valign="top" width="NaN%" headers="d25e66 "><span class="filepath">MyFolder/MyApplication</span></td>
<td valign="top" width="NaN%" headers="d25e68 ">The file <span class="filepath">MyApplication</span> in any folder that is called <span class="filepath">MyFolder</span>,
locally or on the network</td>
</tr>
<tr><td valign="top" width="NaN%" headers="d25e66 "><span class="filepath">MyFolder/</span></td>
<td valign="top" width="NaN%" headers="d25e68 ">All files in any folder that is called <span class="filepath">MyFolder</span>, locally or on the
network, and sub-folders recursively</td>
</tr>
<tr><td valign="top" width="NaN%" headers="d25e66 "><span class="filepath">MyFolder//</span></td>
<td valign="top" width="NaN%" headers="d25e68 ">All files in any folder that is called <span class="filepath">MyFolder</span>, locally or on the
network, but not sub-folders</td>
</tr>
<tr><td valign="top" width="NaN%" headers="d25e66 "><span class="filepath">MyApplication</span></td>
<td valign="top" width="NaN%" headers="d25e68 ">The file <span class="filepath">MyApplication</span> anywhere locally or on the network</td>
</tr>
<tr><td valign="top" width="NaN%" headers="d25e66 "><span class="filepath">*.mov</span></td>
<td valign="top" width="NaN%" headers="d25e68 ">All files whose filename extension is <span class="filepath">.mov</span> anywhere locally or on the network</td>
</tr>
<tr><td valign="top" width="NaN%" headers="d25e66 "><span class="filepath">/MyFolder/*.mov</span></td>
<td valign="top" width="NaN%" headers="d25e68 ">All files whose filename extension is <span class="filepath">.mov</span>
in a specific location</td>
</tr>
</tbody>
</table>
</div>
</div>

  </div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="../concepts/Editing_a_named_scan.html" title="">Configuring a custom scan</a></div>
</div>
</div>

</body>
</html>